package com.tbit.uqbike.webmanager.dao.core;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tbit.uqbike.object.pojo.CardAccountBound;
import com.tbit.uqbike.object.pojo.vo.CardAccountBoundVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:BUGTian
 * @DATE: 2023/1/5
 */
public interface CardAccountBoundDao extends BaseMapper<CardAccountBound> {
    /**
     * 查询区域卡类互通信息
     *
     * @param brandId
     * @param accountId
     * @param cardType
     * @return
     */
    List<CardAccountBoundVO> queryList(@Param("brandId") Integer brandId, @Param("accountId") Integer accountId, @Param("cardType") Integer cardType);

    /**
     * 查询区域名称 ,分割
     *
     * @param accountIds
     * @return
     */
    String queryAccountName(@Param("accountIds") String accountIds);

    /**
     * 查询区域名称
     *
     * @param isBoundAccountId
     * @return
     */
    List<String> queryAccountNameByIdList(@Param("isBoundAccountId") List<Integer> isBoundAccountId);
}
